<!DOCTYPE html>
<html ng-app="ionicApp">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title>注册</title>
    <link rel="stylesheet" href="../ionic-v1.3.3/css/ionic.css" />
    <script type="text/javascript" src="../ionic-v1.3.3/js/ionic.bundle.min.js" ></script>
    <script src="../js/jquery-2.1.1.min.js"></script>
    <script src="../js/public.js"></script>
    <link href="../css/public.css" rel="stylesheet" />
    <link href="../css/login-register.css" rel="stylesheet" />
</head>
<body ng-controller="MyCtrl">
	<ion-header-bar  class="header" align-title="center">
		    <div class="back-padiv" onClick="back()">  
		      <img class="back" src="../img/back.png" />  
		    </div>  
		    <ion-title class="my-title head">注册</ion-title> 
	</ion-header-bar>
    
    <div class="content">
	    <label class="item item-input">
	    	<div class="row">
	    			<input type="text" placeholder="请输入手机号">
	    	</div>
	    </label>
	    <label style="margin-top:10px;" class="item item-input">
	    	<div class="row">
	    		<div class="col-67"><input type="text" placeholder="验证码"></div>
	    		<div class="col code">获取验证码</div>
	    	</div>
      </label> 
		 <button class="click" ng-click="toLogin()">注册</button>  
    </div>
    <div class="foot text-center">注册即代表您同意狗天下的<span class="privacy">隐私与条款</span></div>
	<script>
		angular.module('ionicApp',['ionic'])
    	.controller('MyCtrl',function($scope,$ionicHistory) {	
    		$scope.toLogin=function(){
    			window.location.href="../login.html";
    		}
		});
	</script>
</body>
</html>